]> dgit.raspbian.org Git - gnome-shell.git/commit
ci: Fix checking out mutter for tag pipelines
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 10 Dec 2020 23:49:21 +0000 (00:49 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 11 Dec 2020 13:46:58 +0000 (14:46 +0100)
commit3cccd829f2df312fbae5f7da57937de2a3058646
tree4710a37ce20ad9adc1ad9cf3a94089c023a38efd
parent3cf35ce6dfc40fd1fdf644354bfc59e8e43e24d7
ci: Fix checking out mutter for tag pipelines

$CI_COMMIT_REF_NAME can be a branch name or a tag, depending on the
pipeline, but our checkout script only deals with the former at the
moment.

Address this by rather than looking for a remote branch name, just
try to fetch the ref like we do for merge request pipelines.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1529>
.gitlab-ci/checkout-mutter.sh